package com.imooc.exception;

import com.imooc.grace.result.ResponseStatusEnum;

/**
 * @Author : Kyle_Fu
 * @Date: 2023-05-06 17:24
 *
 *优雅的处理异常，统一封装
 */
public class GraceException {

    public static void display(ResponseStatusEnum responseStatusEnum) {
        throw new MyCustomException(responseStatusEnum);
    }
}
